<div id="formsuccess" style="display:none">{if $errors.status == "success"}{$groups->getEditUrl()}{/if}</div>
<form name="FormGroups" action="?module=backoffice&action=AjaxContext&href={$href}" method="POST" class="nyroModal">
{t assignTo=title}Add group{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$title}
<div id="modalContent">
	<div id="Groups">
	    <table class="listTable">
	    <tr>
	      <td><label>{t}Group name{/t} : </label></td>
	      <td><input type="text" name="FormGroups[label]" value="{if isset($values.label)}{$values.label}{/if}" style="width: 300px;" /></td>
	      {if isset($errors.label) && count($errors.label) > 0}<td><div class="error">{foreach from=$errors.label item=error}<div>{icon name="warning.png"} {$error}</div>{/foreach}</div></td>{/if}
	    </tr>
	    </table>
	</div>
</div>
{t assignTo=footerTitle}Save{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html" label=$footerTitle}
</form>
